using Net35.Xrm.Sdk;
using Net35.Xrm.Sdk.Query;
using System;
using System.Runtime.Serialization;
namespace Net35.Crm.Sdk.Messages
{
	[DataContract(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed class RetrieveSubGroupsResourceGroupRequest : OrganizationRequest
	{
		public Guid ResourceGroupId
		{
			get
			{
				if (base.Parameters.Contains("ResourceGroupId"))
				{
					return (Guid)base.Parameters["ResourceGroupId"];
				}
				return default(Guid);
			}
			set
			{
				base.Parameters["ResourceGroupId"] = value;
			}
		}
		public QueryBase Query
		{
			get
			{
				if (base.Parameters.Contains("Query"))
				{
					return (QueryBase)base.Parameters["Query"];
				}
				return null;
			}
			set
			{
				base.Parameters["Query"] = value;
			}
		}
		public RetrieveSubGroupsResourceGroupRequest()
		{
			base.RequestName = "RetrieveSubGroupsResourceGroup";
			this.ResourceGroupId = default(Guid);
			this.Query = null;
		}
	}
}
